Fixed doProxy regression

* fix to improper uaid reinforcement.
* formatting