The weird thing is that sometimes the program works fine, but it frequently has the above issue. When the issue happens, it\'s always at the same spot. My program starts by