fixed other half of cast to thing