close button bugfix