clean up inpage_view