fix folder metadata