Fixed double display file bug