better handle invalid value of SX_DEBUG_SINGLEHOST