fix rubocop all warning.