fix a bug in prev commit and fix a bug with empty panel for instructorCommentsPage