Fix locations schema