fix form model bug