fix preventing submitting of referrals form