prof utils
verify url is right type