Fields not found in class, dynamic casting of variabel extended fixed