fix location bug in JSON...