fixed max val hex bug
removed logging