fixed file naming bug