correct scanf format for uint8