bug fix for cassandra 1.2 connection