Replaced atom.resn === 'HOH' by atom.elem === 'O'