cleanup debugging stuff