improved some debugging stuff