cleaned up MID's