removed check for ruby compatibility