clean up Rational/Algebraic/Real conversions