fix critical errs2