Only check ele pointer once