Remove extra window open