Change locator parameters to work correctly