fix db drop in ngrams nwords scripts