fix require_once bug