close button fixes