switch from Bucket.Delete() to Cursor.Delete()