remove double html encoding
fix detection of closed site