fix guard for url