change byte to int