Fix string.elements return