fixing rubocop offenses