Fix require errors