fixed preserve path