fix bug (emissionsequence sometimes lacks one element)