change register to byte
merge master