fix font style apply error after yesterday's refactor
finetune model api