Fixed the reveal min and max and state change values.