fix require type