fix minor rubocop warnings