Fixed buff crash.