fixing rubocop syntax