fix case of contact type