fixed the close button