A Solution to profile merge problem