Clean up cleanup_word()