Prevent from empty cache file error