fix auto rmagic when visiting with zid
some more rmagic fixes discovered during testing