Changed getId() to getLeadsID() in lines 278 & 299