removed unnecessary state var in leader