Bug fix on MyUrlGenerator