remove bson stuff