Fixed awful cast bug.