added validation to hex view thingy