Sam Allardyce admitted West Ham's defensive woes played a key role in their 3-3 draw with West Brom on Saturday.