cleaned up error log messages