corrected byte to int

following the suggestion of the tutorial :)