In reply to Daniel.

Nevermind, I fixed this by specifying pattern = 1 for every line.