minor bugfix in rational