fix a couple rubocop issues