deactivate reduce when max is zero