fix has exists entity property