database and tables can be created now. Fixing the initial issue causing the crash while creating DB