getAt returned this rather than the element