voting fixes
refactor sms controller