fix error close button