repaired delete troop and role

when delete troop or role then dont show exception