fix unclosed zip resource