fix rubocop offenses