typo fix in switch statement