fix error as defining products table