fix <!doctype html> parse