add autoAdapt type