[#1] close-all bug fixed