fixed the setter bug
Merge pull request #1948 from wuzhiming/ccpool

fixed the setter bug