how to correct the error