proper handling about dead master(role file struct in zookeeper was changed)