fix rubocop issues