fixed some XGP errors.
changed require to require_one (acs error)