tried to fix getProductById