some fixes while building the example.rb