bug fix Linear, Cubic still broke