fix for broken close button