semi-working cancel reservation function