fix LSC.Serial Rational instance