fix bug in plsDA