Fix crash without advanced pipeline.