locator doc constructor fix