fix a few sp errs