clean up some debugging stuff