remove errors that cause error screen for emails