If the rear derailleur hesitates when shifting to a larger cog try a 1/4 counter-clockwise turn on the barrel adjuster. If it hesitates when shifting to a smaller cog try a 1/4 clockwise turn on the barrel adjuster. If the shift cables are old or corroded replace the cables and housings.
Al