ruby2.0 compat