fixed bug with products being added twice