fix folder copying