fix sequencespan bug