Bug fix fro programs aggregation