append_array fix