novel category/ widget function code repaire