correcting type for URL