Typo 'referral'->'referal' fixed, more 'empty version' fixed