fixes a hash linking problem