dir fix
note
resolve sm uris as archive by default