fix duplicate messages

This should hopefully fix the issue with duplicate add to cart and other messages