fix rubocop offenses because of new gem version