checking errors for usability