fixed langmodel not working