change to_s to inspect to avoid problems on ruby 1.9.3