fixed an error that was selecting an array of elements instead of the element itself.