bad error handling fixed