fixed the duplicate duplicating