fix bug close button