adding generic error handler and increasing version