fixed creation of query list
optimized timeout in SelectClass