added check for sid's existence in destroy