fixed odd error with errors