little db problems solved - hopefully