fix mask ingestion