fixing the require_once issue