add some sql to get ua data running cleanly on kfs5