debug patch for empty folder