fix value node cast error