add "max_num " and "min_num " in survey