Fix two things in the quickmod model