 					@robot.logger.info "Some have voted for this one"
 					option.users = option.users.filter (currentUser) -> currentUser isnt user
 			@robot.logger.info "Finishes removing user"
-			selectedOption = @robot.brain.data.poll.options[vote]
+			selectedOption = @robot.brain.data.poll[room].options[vote]
 			if selectedOption.users != undefined
 				@robot.logger.info "add user to this option since it's defined"
 				selectedOption.users.push(user)

			topic = msg.match[1]
			#@robot.logger.info "Topic: #{topic}"
			options = msg.match[2]
			#@robot.logger.info "options: #{options}"			
			@robot.logger.info "Creating poll with #{topic}"			
			
			pollOptions = (options.split "option: ")[1..]			
			@robot.brain.data.poll = new Poll()
			@robot.logger.info "Poll init complete"
			@robot.brain.data.poll.topic = topic			
			@robot.logger.info "Poll added topic"
			optionsString = ""

			@robot.brain.data.poll.options = {}
			for pollOption in pollOptions
				index = pollOptions.indexOf(pollOption)
				@robot.brain.data.poll.options[index] = new Option()
				@robot.brain.data.poll.options[index].text = pollOption
				optionsString += "\t#{index}: #{pollOption}\n"
			@robot.brain.save()
			@robot.logger.info "Brain saved"

			"""
		catch error
			@robot.logger.error error


