minor edits to quiet rubocop warnings