make article id generation more reliable