- adapt for cassandra 1.2