Corrected linkedlist problem in flows object