fixes a bug with array url param