fix identical file problem