fix duplicate messages

This should hopefully fix duplicate add to cart messages etc.