fixed to_s on both classes