add support to ruby 2.1