default maxLocations to 1. Make sure to pass it for locators.