fix stanza ID generator