Typo fix in switch statement