fix unknown class bug