prod search w error checking