fixed locator bug