Fixing semantic on error message