fix path translation