typo in case statement