fix path assembling