attempt to restore directory