fixes in cartodb persistence