Fixed lda check