more debugging stuff in as we hunt this bug