lang detect fix