Removing an error log that is useless