fix set type different bugg