fix: warning under ruby 1.9