fix compile error in klda