Fix bug with saving words