fixed overlay open issue