cleaning up debugging stuff