gcm cleanup