fix auto in will not use the last slot