fixed json and locations array