partial support xiaojun & support customized lion config