fix "array to string" conversion warning in smart_fractions