Bugfix for url file generation