fixed entity type edit action in admin