Some dogs bark because they are afraid or anxious around something (like a vacuum cleaner or leaf blower).
Once the dog gets excited to see the vacuum cleaner because he knows he is going to get treats, bring the vacuum cleaner out and turn it on for two seconds, treat, treat, treat, and put it back.