fixing error handler to support changes in wookie.