flatten ok