Fix an error in except.