correcting errors from feedback