clean up rationals