Corrected byte to int

The change corrects variable