fix bug of rendering file names