fixed corner case of c++ unzipkeys