patch add_view