updated some leaks