fixed some require errors