fix bug: models error