hack to support ruby-2.1.5