cleanup some mesh lookup stuff