corrected byte to int

changed byte to int