leads index error removed