fix parsing of risk models