fix up startnode and stuff