Fixed orm.rb by adjusting end