add support to ruby v2.1.2