fix path issue with z