change error in stats, add more configs