add #url_replace, make use _view.slim if instance slim does not exist, elements patch