fix some minor rubocop issues