fix CNAME issue and cleaning removed dirs/files