fix require path after 'main' move