transmission having trouble shifting when a/c is cycled on on 1998 Honda CR-V

just fixed my ac in the honda by replacing the expansion valve and the gas... now when the ac is cycled on the transmission wants to over rev and has a problem shifting.. but when the ac is off the problem is not that bad

Asked by for the 1998 Honda CR-V