fix require compile