cleaning up error message