"removed unused var in search"