fixed some errs