Fix getElements