[bugfix] wrong hash to check for shortcut
[bugfix] memset 0 to resized buckets