If it stinks, spray it with perfume.

That’s how a New York City agency dealt with a putrid odor filling a park in Queens.

Councilman Peter Vallone Jr. said he first noticed the smell two months ago. Action was finally prompted by plans for a large fireworks display at Astoria Park.

On Wednesday, the Department of Environmental Protection used “odor-counteracting machines” with a citrus-scented spray to perfume the park. The fireworks went off as planned.

Vallone said he believed the stink was coming from the nearby Wards Island wastewater treatment plant. The DEP has denied the plant was the source.

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Newsday probes police use of force ... Let's Go: Holidays in Manorville ... What's up on LI ... Get the latest news and more great videos at NewsdayTV

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Newsday probes police use of force ... Let's Go: Holidays in Manorville ... What's up on LI ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME