fix the close button