fixed program exit cause I broke it