Symbol cast bug fix