Removing unnecessary file changing the locator