Fix lda to qda for config