fixed bug when selecting only the class
created results panel