autocorrect a few rubocop warnings