finish wordDB