Fixed bug in locator model