cleanup of ok_view