re-added flatstack, fixes race condition
reset collection - don't overwrite it