fixed checkbox values for draw_stats function