fix terrible, terrible issue when more than one instance of Rootpath is in use.