fixed bug in main.rb