fix rubocop warning