fixed segfault, aol test still failing on compression. Command writing compressed slighty