fixed a bug in snmpwalk simulation and savestate