fixes in locations
fixes in DDB local indexs handling
simplified put/location, no hidden logic anymore