refix closebutton