fix hilarious clearing bug & increase buffer