formatting took in sarch performance status
added a generic http error handler