fixed Database.sql