added nil exception errors for the search
pulled