Made DB working again