bug corrected while merging the profiles