Add catch for \ auto replace set_max and set_min