fixing a db bug

word_id was not set to unsigned int