fix: min/max parsing