fixed dangling span parent bug. seems to work with just use of spans have not tested spans + events. debug printlines all over