set min/max with strings. closes #439