Fixed a bug in process_feeds