added check for leader
deleted leader from some records