fixed bug with buffs.