added array control before http_build_query