fix auto checking