Fixed issues in dom2share