Casting fix.