clear timer first