fix where rubocop complain