fix language problem during registration