close potential leak