fix syntax error in work.rb