fix the del buffer