Fixed a typo.
fix cs and logic