fix path incorrect bug