working filter url on client-side