made search and searchGoogle return the correct value