bug with compromise.cpp