How did people get rid of the smell of dead people during the plague?

the corpses of the deceased would usually be compiled into small ditches or very large holes to conceal the odor. the conditions during the plague made most of Europe uninhabitable as the fluids and gross odors of the deceased corpses would mix in with the main sources of clean water and causing sickness and death.