rubocop ruby code fixes