fixed native require errors