save listeners into slaveState