fixed sorting merge cockup.