fixing case wher multiple locations exist