case statement style fix