fix bug: studyNo is nagative