modify auto submit,clear timer after submit