select performance improvements