[yanan] change config to for optimization