negative numbers correction