fix model spec