Fixed bug caused by invalid CNAME