fixed other half of duplication bug