fix some errs