fixed problems with buffs.