fix rubocop violations.