fixing issue where get_current_site returns empty domain