fix for putting values in array together to build url