fix db glitch with quoted categories