close all bug fixed