bug fix - part of previous commit

the id of the new word entry has to be set