Replace on root do with on get, root do.