Fix admin tree editor