update ziplocate logic to throw value error