add filter hook for url variants