fixed some bugs in cassandra configuration