make assumeSafeAppend return its array