fix race condition causing online-store/products problem