I fixed the dynamic casting!