- fix issue when deleting platform with other entity created in them