third attempt at duplicat selection duplication bug