correction of the errors