implement getEvenElement() fix