fix rubocop violations