fix bug with duplicate stats_definitions data