Pd/rubocop fix

Fixed rubucop offenses