correcting an error