fixed url check in sample38