fix the bug that data more than two classes are not displayed