fix auto command