fixed a bug related to the $class psudeo property