diff --git a/annotation/src/main/java/lcsb/mapviewer/annotation/cache/BigFileCache.java b/annotation/src/main/java/lcsb/mapviewer/annotation/cache/BigFileCache.java
index 86e29db7a2eb3d1bd2d0a891551f2b643903f2c0..7260797a809510467b1481988115441577074125 100644
--- a/annotation/src/main/java/lcsb/mapviewer/annotation/cache/BigFileCache.java
+++ b/annotation/src/main/java/lcsb/mapviewer/annotation/cache/BigFileCache.java
@@ -433,7 +433,7 @@ public class BigFileCache {
 
         final long size = getRemoteHttpFileSize(url);
 
-        OutputStream output = new FileOutputStream(Configuration.getWebAppDir() + entry.getLocalPath());
+g        OutputStream output = new FileOutputStream(Configuration.getWebAppDir() + entry.getLocalPath());
         cos = new CountingOutputStream(output) {
           private double lastProgress = -1;
 
@@ -846,7 +846,6 @@ public class BigFileCache {
       File f = new File(Configuration.getWebAppDir() + entry.getLocalPath());
       if (!f.exists()) {
         logger.warn("File is supposed to be cached but it's not there... " + sourceUrl);
-        bigFileEntryDao.delete(entry);
         return false;
       }
     }