change lang from string to int