fix bug for extjs model