Revert u16 mask to u8