fix 1000 lines problem in slect function