Fix case assignment.