fixed min and max parsing as ints and not doubles