Added a preg_replace to get rid of snmp errors