try to fix dir permission error