type fix for url