fix bug of toggling mru window