fixes to pass rubocop linting