fix misc require errors