added DB support (error in creating database)