fix typos and keep Rubocop happy wrt newlines at end of files