fix select All Performance issue