fixed cut-off problem for sm_stats_auto with larger selections