fix for url without parameters