fixing bug in ltpromptanalysis that stops compilation