fixed rust input in hexmap