close Button Bug fixed