Fix case type