cleanup some debugging stuff