debug 11/26

Fix most of the compilation errors