fixed bug to pass full url to filter