small speed improve in methods search