fix for ruby1.9
v1.2.1