cleane dup file a bit