fix locator strategy, add locator to error