fix dir signature