fix require exception