bug fixes from code review of osw.views

fixed set math.
fixed pipeline that would always fail.