not closing the program fixed