Adjust errornumber