only auto call finish if view function return itarable