fixed rationalization bug
bug fixes