fix ugly name
add truncate and fix get_word in init_db