hopefully fixes the close button