fixed empty dir