The program crashes less now