Fixed rubocop warning