fix style complaints surfacing in rubocop