Duplicates print flag fix