fixed 2 rubocop offenses