added error handler to presentation