change getter of rational
basic version for general apply