fixed double close message