fix path error after moving file