fixed a bug in Hex