flatten global list