aggregator.rb and parser.rb bug fixes