casting fix