fixed bugs with close all and close others
fixed bugs with close all and close others