fix the check type default value