An analysis of consumer response to corruption