bug fix for merging duplicate source profiles