updated some min max bugs