fixing rubocop suggestions