set flatten to false