fix bug where all windows displays current filename