make it work when the data url is not found