closeAllBuffer bug fixed.