fix dir paths