fixed a database thingy