cleaning up mincontrol