fix auto setup