Purple Rain Gilet

I am new user of the Brother 930 knitting machine. I am trying to make the Purple Rain gilet in the June issue of MKM. Why does my machine sometimes do the pattern randomly and then start to produce it correctly? Is there a step I am missing out when I program the machine?