fix notebook error message