Fix reference to fields in RootHandler