fixed file name bugs