Everything works now. Sometimes the program gets confused but still works