Fixed sign breaking

Fixed sign breaking