fixed string issue for ruby1.9.3