clear threw variable after each invoke