Fixes bug about referencing lda instead of ldb.