[FIX] Write to the hash file the right value