fix lda file loading