errors are corrected