Fix forgotten Cast