Fix missing bitshifts