fixing rubocop issues