I found the problem L in p, need to redo differentiation!