was assuming the returned values were arrays when they were in fact just a single value, copy paste bug from another set of code.
was assuming the returned values were arrays when they were in fact just a single value, copy paste bug from another set of code.