Fix arguments to array conversion