fix language transition