fixed root collection bug