Set up for view building, corrected view build bug