[Penlin] fix f curve and the correspondding opt weights