Fixed chain rule of LMA.