check leader only if there is at one log