remove vestigial `flatify` function