clear stak after functio def