fix path convertion