Fix for hide close button