removed lambda stack, fixes to viewports