Fixed gen_leader startup error