fix path error in prod mode