fix some rubocop issues