Fix url not to be nil
Merge pull request #1333 from fabianoleittes/fix_type_url

Fix url not to be nil