more clean up for lda