Fix module route to root directory works.