fix name error when raising an error