Fix case switch