fixed hash-key problem