avoid leaks from parameters