bug in URL generator solved