Before this fix, the cpu flags were shifted