Duplicated files bugfix