make min/max stable. fixes #8825
remove some unnecessary Char methods