add shared errors