Fix wrong require path in main file