fix case types