fix fractions and negatives