doc fix for validate_max