fixed error in hexstring