Fix number of database