changes in DOM parser