fixed formatting
exit the program when encoutering a fatal error