fixed: type cast compilation error.
fixed: type cast error.