slight tweak to the leak detector