Fixing error log message