ajax add location bug fixed