remove share cruft