weird duplication bug