fixed implicit cast storing for IfExpr