cast to array.

Signed-off-by: crynobone <crynobone@gmail.com>