Fixed up casting