Bug fix in QDA