restoring static dir