minor cleanup in the the mirror usage code