correcting error message