dealing with bad image uris