fix make_array: explicit conversion to T