Changed byte to  int

change corrected a variable mix match.