minor bugfix (needed & 0xff)