fixed issues surfaced by code review around getting centric materialization working.