I'm far from an expert, but I found that sometimes the TI doesn't like it when you use x and y in the program. Try using different vars and see if that works.