fixed logic in setuper.rb