updated error response