Fixed sign problem