ruby2.0 fix. DONE