Fix an issue with snmp