fix path class