fix database not exist