min/max issue fixed.