fixed close overlay bug