add ruby fixes from veewee