fixed hand assignment in addSpans