Fixed saved optimal params

Signed-off-by: Jimmy Yu <jimmy.w.j.yu@gmail.com>