fix generating category id product view