tentative fix of race condition on entities when created from app42 callback