fix survey deletion