fix one error which have raised after update ruby to ruby-2.2.0