fixes added on duplication process