fixed opening of new windows.