fixed file duplication issue