Delete segment works