add gate view during materialization