Made the testing data not crash the program.