fix in form model and parse schema. still in progress