go back to only setting on element 0, that wasn't the problem, whoops