Fixed minos bugs