Fixed singilton database object