Fix cassandra persistance