bugfix for url