remove some debugging stuff
a compile bug and some more debugging stuff