fixed the issue with products not rendering correctly