Language switching was buggy