fixed python bot bug when mmin == -1