output variable leaking