Fixed a typo that casued 'while' to display instead of 'if' in the cst