Fix case statement syntax