correting error