correcting an error message