misc cleanup in categories