hotfix closing appearing on load