Fixed conditional syntax error in fields model;