Error messages correction