fixed issue 575 with %i can't uesd in ruby 1.9.3

fixed issue #575