This is IMO bugged, how you convert `scalar` value into `array`?