Revert "referral changes"

This reverts commit a4188add53b13e34ef6f3e1826ef4992161d9425.