replace with https://github.com/KnpLabs/snappy/pull/73/files#r10192411