imrpvoed ruby1.8.7 support