change for ruby-1.9 suggested by Jongjeong Kim on tioga-users mailing list