fix some of the leaks in the AUTORECODE command