more simd casting fixes