entityErrors cleanup