potential leak fixed