Fixed carry flag bug