fix auto select