added and disabled minima check