deleting entity groups on clear data