fix dir issue