improve search symbol method