fix require errors