Fix dynamicHash functionality