fix bug passing background arg to LinearModel and QuadraticModel