change root callback