Fix Bug SetupDatabase