added check_uri