Correctly subscribed the error handler