removed reopening of main page