fixed close button issue