select field error solved in ClassInfo function