took out mistake in searchSpec