fix broken commit
more reliable gcm processing