check for leaks