modify lda solver