Fixed spell buffer issue