fixed resolving links recursively
return array querystring