fix for close button