fixes for newer rubocop