fix dedicated compile