quick fix for ruby2.0 issues