address rubocop issues