Here is what happens to most bud.
It starts to stink in early mid flower, most of the time for me smell dissipates late in flower if buds are not moved around much. Chopping and trimming it stinks again. After just 2-3 days in dry it begins to smell like hay, a normal process. It tends to keep a hay or grassy type of smell until you cure for about 2-3 days, smell comes right back.
If your smell doesn't come back by end of dry or 2-3 days in cure it was harvested too early and there could be other reasons. You must go through the entire trim-dry-cure process to obtain the best taste, smell and smoothness.